package cn.tedu.mybatisdemo.config;

import cn.tedu.mybatisdemo.Application;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.context.annotation.Configuration;

@Configuration  //配置注解
@MapperScan(value = "cn.tedu.mybatisdemo.mapper")
public class MybatisConfig {
   static {
       System.out.println("MybatisConfig.class加载了");
    }
}
